import { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    path: '/',
    name: 'home',
    alias: '/home',
    component: () => import('../views/Home.vue'),
    meta: {
      title: '首页',
      hidden: false
    }
  },
  {
    path: '/image-renamer',
    name: 'imageRenamer',
    component: () => import('@renderer/views/ImageRenamer.vue'),
    meta: {
      title: '图片重命名',
      hidden: false
    }
  },
  {
    path: '/modao-dom-to-form',
    name: 'modaoDomToForm',
    component: () => import('@renderer/views/ModaoDomToForm.vue'),
    meta: {
      title: '墨刀-Dom转页面',
      hidden: false
    }
  },
  {
    path: '/website-to-page',
    name: 'websiteToPage',
    component: () => import('@renderer/views/WebsiteToPage.vue'),
    meta: {
      title: '网站-Dom转页面',
      hidden: false
    }
  },
  {
    path: '/dict-to-db',
    name: 'dictToDb',
    component: () => import('@renderer/views/DictToDb.vue'),
    meta: {
      title: '字典导入数据库',
      hidden: false
    }
  }
]

export default routes
